<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.prime.com.tr/ui">
    
    <body>
        
        <ui:composition template="./Template_Client.xhtml">
            
            <ui:define name="content">
               <h1>Register page</h1>
                <h:form id="registe">
                    <p:fieldset legend="Information Login">
                        <h:panelGrid columns="3" cellpadding="10">
                            <h:outputText value="User Name "/>
                            <p:inputText id="username" required="true" />
                            <p:message for="username" display="icon"/>

                            <h:outputText value="Password "/>
                            <p:password id="password" required="true" feedback="false" minLength="6" />
                            <p:message for="password" display="icon"/>
                        </h:panelGrid>
                    </p:fieldset>
                    <br/>
                    <p:fieldset legend="Information Profile">
                        <h:panelGrid columns="3" cellpadding="10">
                            <h:outputText value="Name "/>
                            <p:inputText id="name" required="true" />
                            <p:message for="name" display="icon"/>

                            <h:outputText value="Email "/>
                            <p:inputText id="email" required="true" />
                            <p:message for="email" display="icon"/>

                            <h:outputText value="Phone "/>
                            <p:inputText id="phone" required="true" />
                            <p:message for="phone" display="icon"/>

                            <h:outputText value="Mobile "/>
                            <p:inputText id="mobile" required="true" />
                            <p:message for="mobile" display="icon"/>

                            <h:outputText value="Address "/>
                            <p:inputText id="address" required="true" />
                            <p:message for="address" display="icon"/>

                            <h:outputText value="Career "/>
                            <p:inputText id="career" required="true" />
                            <p:message for="career" display="icon"/>

                            <h:outputText value=""/>
                            <p:commandLink>
                                <p:graphicImage value="images/Register-Button.jpg" width="150" height="64" style="border: 0" />
                            </p:commandLink>
                            <p:commandLink>
                                <p:graphicImage value="images/Cancel-Button.png" width="150" height="64" style="border: 0" />
                            </p:commandLink>                            
                        </h:panelGrid>
                    </p:fieldset>                    
                </h:form>
            </ui:define>

        </ui:composition>
        
    </body>
</html>
